/**
 * @File name: modules/modules.h
 * @Synopsis:
 * @Author: xing.dai@aliyun.com
 * @Version: 0.0.1
 * @Date: 2018-08-01 16:35
 */

#ifndef __MODULES_H__
#define __MODULES_H__

#include "debug_print.h"
#include "basic_info.h"

#define list_entry(node, type, elem)	\
	((type *)((char *)(node) - (unsigned long)(&((type *)0)->elem)))
/* common.c */
char *trim(char *str);
uint32 hexstr2uint32(char *str);
int ishexstr(char *str);

/* shell.c */
void task_shell_entry(void *arg);
#endif

